package com.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
//在配置过这个注解后，服务启动会自动注册到 Eureka Server
@EnableEurekaClient
//开启服务发现
@EnableDiscoveryClient
public class Springcloud02ProviderDept8083Application {

	public static void main(String[] args) {
		SpringApplication.run(Springcloud02ProviderDept8083Application.class, args);
	}

}
